package com.aaa.service.impl;

import com.aaa.dao.ActivtyMapper;
import com.aaa.entity.Activity;
import com.aaa.service.ActivtyServiceDao;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ActivtyServiceImpl extends ServiceImpl<ActivtyMapper, Activity> implements ActivtyServiceDao {
    @Resource
    ActivtyMapper activtyMapper;
    @Override
    public List<Map<String, Object>> findactiv() {
        return activtyMapper.findactiv();
    }

    @Override
    public Integer update(Integer num, Integer aid) {
        return activtyMapper.update(num,aid);
    }
}
